# 每日一题04——数字阶乘
from numpy import number


def number_jiecheng(number):
    number = int(input("请输入数字："))
    result = 1
    while number > 0:
        result *= number
        number -= 1
    return result
print(f"{number}阶乘的结果是{number_jiecheng(number)}")